﻿using System.ComponentModel.DataAnnotations;

namespace IS_Ever_Green.DataAccess.Model
{
    public class OrderModel
    {
        [Key]
        public int OrderId { get; set; }

        public int UserId { get; set; }

        public DateTime OrderDateTime { get; set; }

        public string OrderStatus { get; set; } = string.Empty;


        public UserModel User { get; set; }
        public ICollection<OrderItemModel> OrderItems { get; set; }
    }
}
